package com.zyz.demo.model;

import com.zyz.demo.utils.DateUtils;
import lombok.Data;

import java.util.Date;


@Data
public class BlogInfo {
    private Integer id;
    private String title;
    private String content;
    private Integer userId;
    private Integer deleteFlag;
    private Date createTime;
    private Date updateTime;
    private Boolean isLoginUser;
    public String getUpdateTime() {
        return DateUtils.format(this.updateTime);
    }
}
